Skip to content

Instantly share code, notes, and snippets.

@VivianBalakrishnan
VivianBalakrishnan / okf-graph-wiki.md
Last active August 16, 2026 08:14
OKF Graph Wiki — Agent-Maintained Knowledge Graph for Context Retrieval

OKF Graph Wiki — Agent-Maintained Knowledge Graph for Context Retrieval

I've been running Andrej Karpathy's LLM Wiki pattern for several months — reading sources, compiling them into a compounding, git-diffable wiki instead of re-deriving everything from scratch every session — and I'm a genuine convert. But two things kept nagging at me: query salience (finding the right page reliably, not just something plausible) and token economy (not re-reading half the wiki to answer one question).

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@tin-z
tin-z / VR_roadmap.md
Last active August 16, 2026 08:07
Becoming a (pre-AI) Vulnerability Researcher roadmap: my personal experience
@aarondfrancis
aarondfrancis / audit-your-codebase.md
Created August 14, 2026 15:20
A read-only, agent-orchestrated codebase audit prompt for data structures, state modeling, algorithms, and ownership.

Audit this entire codebase for materially useful simplifications in its data structures, state representation, control flow, algorithms, and ownership.

This is an audit-only exercise. Do not edit files, run tests, implement recommendations, commit, or push. Read-only inspection commands are allowed.

You are the coordinator. Continue until the complete codebase has been reviewed and the final audit is validated.

  1. Establish the coverage contract

Inspect the repository and inventory every identifiable subsystem.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active August 16, 2026 08:01
Complete Recent Discord Quest

Caution

As of April 7th 2026, Discord has expressed their intent to crack down on automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you most likely WILL get flagged by doing so.

Complete Recent Discord Quest

@sundowndev
sundowndev / GoogleDorking.md
Last active August 16, 2026 08:01
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@loggedbytucker-blip
loggedbytucker-blip / pi-commands.md
Last active August 16, 2026 07:55
Raspberry Pi 5 media server — Immich + Jellyfin + Tailscale

Raspberry Pi 5 Media Server — Commands

Immich (photos) + Jellyfin (movies/TV) + Tailscale (access from anywhere). Commands only, in the order they're run in the video.

Tested August 2026 on:

Hardware Raspberry Pi 5, 8GB — CanaKit Starter Kit PRO
@bczhc
bczhc / a.md
Last active August 16, 2026 07:54
找到了Linux QQ NT聊天记录数据库密钥

自QQ用了新内核“NT”架构,原有的数据库解密方法也用不了了。查看新版QQ的文件结构可以发现它的新数据库文件:$HOME/.config/QQ/nt_qq_<ID>/nt_db/nt_msg.db

我尝试在GitHub上全网搜索“nt_msg.db”,发现仅有两个相关的页面:

逆向不会搞。但得到了两个很有用的信息:key的长度为16,和密钥派生函数迭代次数为4000。并且看那上面有个打开SQLCipher的截图,密钥是直接输进去的,那就应都是可打印字符。我使用内存转储,把转储文件通过strings命令过滤出字符串,然后再筛选出16长度的行,这样就可以一个一个去试了。

这是试密码的程序:

name explain-diff-html
description Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output.

Explain Diff

Please make me a rich, interactive explanation of the specified code change.

It should have these sections: